package com.app.core.configuration;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author qiangt
 * @since 2023/6/29 16:31
 */
@ConfigurationProperties(prefix = "craftsman.common")
@Component
@Setter
@Getter
public class CommonProperties {

    /** 是否启动打印spring bean */
    private boolean printBean = true;
    /** token header key */
    private String tokenHeader = "token";

}
